Skip to content

Tag: api

Laravel – Error when calling my logout route

I did the installation of laravel as sent by the basic authentication guide with auth, my login works and returns me a token, but when I try to log out it returns me the following error: this error in my middlaware where it was for him to do the control with the token, but I think I’m doing something wr…

Laravel with() and search using LIKE not working

So I have 2 tables, 1 table for storing debt(id, amount, category_id) and 1 table for storing debt categories(id, name). I am trying to pull the data for each month from the debt table, but I also have a search which seems to not work, I guess I am missing something. I have the following: Debt Model: This wor…

Zammad API: Create ticket with tag

For those who don’t want to read the whole question: I’m looking for the index in the API-Request (Zammad) to set a tag while creating a ticket. Details: I’m using PHP to make an API-Request to my server where Zammad is installed. The following shows the data i sent via curl: After convertin…

NetSuite connect using PHP oAuth 1.0 getting error

Hi I want to connect netsuite using PHP . I tried in Postman and it is working properly . Request is sending and i am getting result . So i want to execue the same thing using PHP . So i wirte the following code . But I’m getting the following error : {“error” : {“code” : “…