Jump to content
UBot Underground

Help! Curl Http Post


Recommended Posts

Hey Ubot Forum

Can anyone give me an example of how I would use the instructions below with Aymen's HTTP post
(Or Exbrowser)
 

 
You can use curl -X POST
-H "Authorization: Bearer {Your API Key}" \
-d '{"email":"bart@fullcontact.com","twitter":"@bartlorang","fullName":"Bart Lorang"}'

 

Any advice would be much appreciated :)

Link to post
Share on other sites

https only works in the latest and changed http post plugin of aymens.

I would also check out exbrowser or heropas https post options

but 

Set header 
Authorization: Bearer {Your API Key}

set url to send the post data to

then the post data in json format
{"email":"bart@fullcontact.com","twitter":"@bartlorang","fullName":"Bart Lorang"}

Link to post
Share on other sites

Thanks TJ

I am waiting a reply from the Exbrowser FB group,

But is this a plugin? heropas https post options and do you have a link to any information on this?

I did a search but could not find anything
 

https only works in the latest and changed http post plugin of aymens.

I would also check out exbrowser or heropas https post options

but 

Set header 
Authorization: Bearer {Your API Key}

set url to send the post data to

then the post data in json format
{"email":"bart@fullcontact.com","twitter":"@bartlorang","fullName":"Bart Lorang"}

Link to post
Share on other sites

For anyone trying to solve a similar problem... HTTP post to a rest API in Ubot

 

Here is how I solved it...

 

Installed https://gitforwindows.org/

 

Used command line in Ubot with Advanced shell http://ubotdev.com/free-plugin-advanced-shell

 

Did the posts via command line like this...

CD C:\Program Files\Git\mingw64\bin\

curl -X POST -H "Content-type: application/json" -H "Authorization: Bearer PASSWORDGOESHERE" --data "{\"email\":\"bart@fullcontact.com\",\"twitter\":\"@bartlorang\",\"fullName\":\"Bart Lorang\"}" https://api.fullcontact.com/v3/person.enrich

I hope this saves you some time if you come across this post :)
 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...