Inbox API Access

24 views
Skip to first unread message

Neha Wakchaware

unread,
Feb 12, 2018, 4:02:31 AM2/12/18
to OpenFn Community
Hi 
I want to use  Inbox API Access (with username and password). 
I have created it under Access & Security tab
Now can you tell me how to use it for authentication ?

Santiago Gutierrez

unread,
Feb 12, 2018, 8:25:43 AM2/12/18
to OpenFn Community
Hi Neha,

Thanks for asking! If you have configured "basic auth" for your inbox, you must make sure that whichever application you're using to send data to OpenFn makes use of basic auth in their HTTP post request. Basic Auth in curl, for example, looks like this:
curl -u myusername:mypassword https://www.openfn.org/inbox/your-inbox-uuid

Here is what a basic auth header looks like when transmitted using HTTP: Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

And just to make sure we're on the same page, I have pasted the Inbox Auth setup screen below. Is this where you configured your authentication option?


Best,
Santiago
Reply all
Reply to author
Forward
0 new messages