Home >Backend Development >PHP Tutorial >用PHPStorm的RESTful如何模拟json数据

用PHPStorm的RESTful如何模拟json数据

WBOY
WBOYOriginal
2016-06-06 20:32:261572browse

HI,我尝试使用PHPStorm的REST Client来模拟一条POST数据,数据格式如下:

<code>{
"user_ids":[1,2]
}
</code>

我改如何模拟呢?

用PHPStorm的RESTful如何模拟json数据

回复内容:

HI,我尝试使用PHPStorm的REST Client来模拟一条POST数据,数据格式如下:

<code>{
"user_ids":[1,2]
}
</code>

我改如何模拟呢?

用PHPStorm的RESTful如何模拟json数据

我用RAW模式模拟了JSON,参看这里https://code.google.com/p/chrome-rest-client/issues/detail?id=228

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn