API creat record whitout using session ID - Forum - Rollbase - Progress Community

API creat record whitout using session ID

 Forum

API creat record whitout using session ID

This question is not answered

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
  • Hi, Tehila,

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

    Thanks

    Jaya

  • 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

  • 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