rest

Debugging JS in react applications that use REST

Dear sirs, there is a question related to debugging js when using react. The story was arranged as follows: First, I develo ... xt of the error in the form of an image: If you can see something in it, what I missed - please write. Thank you in advance!

Spring. Rest API. Java

Working with the phone book. I write the server part, I want to change the created user's data(name and number), add, delete, ... And yes, am I doing everything right? There are just suspicions that with such a code I will be sent to a walking romantic...

Creating the Spring boot Rest api

Help me not clear errors, I started digging in Spring Boot, and tried to create a Rest site, I tried three guides and I alway ... tion for DDL execution Caused by: java.sql.SQLSyntaxErrorException: Unknown database 'messages&servertimezone=utc&'

NodeJS Telegram bot request failed API

The bot stops working after an error: FetchError: request to https://domain.ru/api/get/token failed, reason: connect ETIMEDOU ... ter a while it crashes. I don't understand what the problem is. Sometimes the bot is delayed, but not for long and so always.

Laravel and the architecture for the Rest API

Good time of day! I am writing a service in Laravel, in which I use only API requests. There were some questions, since I pre ... d perform data validation inside this class. How do I return an error in my error return option in case of validation errors?

REST API Implementation

The other day, for the sake of interest, I threw a resume to the company, sent a preliminary test. It is said to implement a ... tations of this (for any task, not necessarily working with files) are there in C# / Java? I will be grateful for any answer.

Can I create my own REST queries?

There was a stupid question about the types of REST requests. I understand that these methods are generally accepted: POST-cr ... se a generally accepted method for some actions? (For example: Send DELETE, but create a new object instead of deleting it.)

The WP-REST API returned an unexpected result

I make a website on WP. I got the error: Ошибка обновления. Ответ не является допустимым ответом JSON.. Looked into the heal ... ache/2.4.38 (Raspbian) Server at 192.168.1.8 Port 80</address> </body></html> . How can I fix this error?

Testing rest java

I would like to know how to properly test rest services.For example, I want to test the post and get methods of some service ... use post.I heard it's not a good one approach.What should I do in this situation?I will be happy for any help and resources.

Django rest framework can give html page?

Or maybe there is another library that provides similar functionality

Getting a post and displaying its content (WordPress REST API)

I can't adequately display the post on my page, relying on the REST API. There is a site on local hosting. There is the follo ... ately together with HTML tags and it is also displayed on the page with tags. How can I output this text without tags in JSX?

Golang REST API error response

Ideologically correct error return to the REST API client For example a simple REST API: package main import ( "fmt" ... ror handling choose when the error comes from the" depth " of the project and with each level becomes overgrown with context?

Creating an entity and uploading files to the server

I work as a rest endpoint to create a contract entity using the spring ecosystem. The entity assumes the ability to attach sc ... n entity, and then send the files in a separate request Which approach should I choose? What are the nuances of each method?

c#: example of executing a GET request

Good afternoon, I can not understand the correct execution of the GET request. There is an API from which I can easily get da ... Language: ru Content-Type: application/json } Where can I see the simplest example of a synchronous GET and POST request?

How do I update a custom order field in Bitrix using the rest api?

How do I update a custom order parameter field in Bitrix using the rest api? The task is: in bitrix crm, use the rest api to enter data in the custom field of the order parameter. What method can be used to solve this problem?

Java Backend for Android

I'm writing a backend for a mobile platform. Previously, I wrote only for Web clients, there is already an almost ready-made ... ecurity and whether there are any nuances with working under mobile. I didn't find any normal examples. Thank you in advance!

How is put different from patch?

I'm learning the REST API. I don't understand the difference between the PUT method and the PATCH method: they are both used ... ata... Articles on the Internet in Russian provide a lot of water, is there no clear answer to the essence of the question?

Redmine RestAPI Get Issues by Ids

It was necessary to get information on specific tasks from redmine. Now redmayne 2.4, but moving to a more recent one. And th ... ng is parsed in the GET query. Please check with do you know if this design works for you? Or do I just not know how to cook?

RESTful API-authorization by JWT token

Hello there. There is a project in PHP, to which you need to bind JWT authorization. How to organize the logic of the work? W ... JWT? Or, how to store the Json Web Token from the user and, if necessary, get it to the API server and authenticate the user?

Android Rest api client [closed]

Closed. This question is off-topic. Answers to it are not accepted at the moment. ... yet, but it may be in the future you'll need it. I don't want to reinvent my bike. While I'm looking at the RoboSpice library