PHP Classes

File: tests/_data/scenarios/api/Create_Article_With_Bad_Params_Values.txt

Recommend this page to a friend!
  Classes of Gjero Krsteski  >  PHP Nuclear Reactor  >  tests/_data/scenarios/api/Create_Article_With_Bad_Params_Values.txt  >  Download  
File: tests/_data/scenarios/api/Create_Article_With_Bad_Params_Values.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: PHP Nuclear Reactor
Asynchronous RESTful API using ReactPHP and PIMF
Author: By
Last change: Update of tests/_data/scenarios/api/Create_Article_With_Bad_Params_Values.txt
Date: 2 years ago
Size: 243 bytes
 

Contents

Class file image Download
I WANT TO CREATE A ARTICLE VIA API USING BAD PARAMETER VALUES

I have http header 'Content-Type'," 'application/x-www-form-urlencoded'
I send post '/articles'," ['title' => ''," 'content' => ['test'=>'content']]"
I see response code is "400"

For more information send a message to info at phpclasses dot org.