API creat record whitout using session ID

Posted by tehilac@safeguard.co.il on 26-Jul-2017 04:17

Hello evryone! 

Thair is any way to use API Post call creat record whitout using sessoin ID- In other words - without logging in first??

To open the object to the world?

Thanks! 

Tehila

All Replies

Posted by jlakshmi on 31-Jul-2017 01:16

Hi, Tehila,

In APIs  you can also create record by using Basic Authentication.

Thanks

Jaya

Posted by tehilac@safeguard.co.il on 02-Aug-2017 00:37

Thanks!

Can you please specify or refer me to an explanation? I forgot to mention that I am using a public cloud.

Thank you!

Tehila

Posted by hmarrout on 02-Aug-2017 02:49

Hi Tehila,

In your Request add a authorization header made with the following details

username:loginname@custid

password:password

an authorization token will look like this for the above details

Authorization: Basic bG9naW5uYW1lQGN1c3RpZEAzMzQ2MDk6cGFzc3dvcmQ=

This Should solve your problem.Could you try this and get back if you have any problem in creating a record.

Thanks

Hariteja.M

This thread is closed