Category : rest-client

I’m working on a simple laravel api but the post method on Rest client only returns a redirection. This is my RegisterController, public function store(Request $request) { $this->validate($request, [ ‘name’ => ‘required|max:255’, ‘username’ => ‘required|max:255′, ’email’ => ‘required|email|max:255’, ‘password’ => ‘required|confirmed’, ]); $success = User::create([ ‘name’ => $request->name, ‘username’ => $request->username, ’email’ => $request->email, ‘password’ ..

Read more

I am trying to make the call to a web service that is in php and my client in Spring-Boot with retrofit2. @GET("index.php?") Call executeTransaction(@Query("parameter") String parameter, @Body ObjectRequest objectRequest); It returns the error 400 Bad Request, can someone help me what am I doing wrong? Sourc..

Read more

Estoy tratando de hacer la llamada a un servicio web que está en php y mi cliente en spring-boot con retrofit2. @GET("index.php?") Call executeTransaction(@Query("parameter") String parameter, @Body ObjectRequest objectRequest); me da el error 400 Bad Request, alguien me puede ayudar que estoy haciendo mal? Sourc..

Read more