Curl Command Won't Fully Import

Status
Not open for further replies.

nicheweb

Member
Hello,

I can send the following curl command on my server and it works fine. When I go into Pabbly API and hit the import curl option, it doesn't put everything into the data field correctly or create parameters. The import curl ignores all of the -d stuff. Can you help me let me know what I'm missing or if this is an issue with the Pabbly curl importer? (I obviously changed out the domain name and API key sections, but it should import into Pabbly the same).

curl -X 'PUT' \
'https://www.domainname.com/api/v2/data_posts/update' \
-H 'accept: application/json' \
-H 'X-Api-Key: APIKEY' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'post_live_date=&country_sn=&post_filename=blog%2Ftest-article3444ffffdsfsadff&image_imported=0&state_sn=&post_clicks=0&post_author=&post_start_date=&lon=&revision_count=0&auto_geocode=0&post_expire_date=&user_id=40471&data_type=20&data_id=14&post_status=&revision_timestamp=&sticky_post_expiration_date=&sticky_post=0&post_tags=&post_title=&post_type=&auto_image_import=0&post_id=390&post_token=&post_content=&post_image=&recurring_type=0&post_category=&original_image_url=&lat='
 

nicheweb

Member
Hi @nicheweb,

Please try setting the endpoint in this manner:

Ok thanks - so does make it so I can use the import curl option, or is this just how to set it up as encoded data and I need to manually type out all of the parameters?

If it's the later, is there a reason this curl isn't able to be imported? And if that is the case, is there a way to chang the formatting so I can import it and it puts all of the variables down in the parameter section automatically?

Thanks For Your Help
 

ArshilAhmad

Well-known member
Staff member
Currently, you need to manually enter the parameters. We have forwarded the issue regarding cURL not being imported correctly to our technical team. We will investigate the issue and get back to you.
 

ArshilAhmad

Well-known member
Staff member
Our technical team is investigating this issue. We will get back to you as soon as we have an update.
 
Status
Not open for further replies.
Top