PHP cURL POSTFIELDS to RESTful Service

bugnot

New Member
I'm developing a project and i'm with some dificulties on how to post data to a java restful webservice, using php curl.SQL :\[code\]DROP DATABASE IF EXISTS POST_TESTE;CREATE DATABASE POST_TESTE;USE POST_TESTE;CREATE TABLE GRAU (ID_GRAU TINYINT UNSIGNED NOT NULL,DESCRICAO_GRAU VARCHAR(20) NOT NULL);ALTER TABLE GRAU ADD CONSTRAINT PK_GRAU PRIMARY KEY (ID_GRAU);ALTER TABLE GRAU CHANGE ID_GRAU ID_GRAU TINYINT UNSIGNED NOT NULL AUTO_INCREMENT;INSERT INTO GRAU (DESCRICAO_GRAU) VALUES ('CET');INSERT INTO GRAU (DESCRICAO_GRAU) VALUES ('Licenciatura');INSERT INTO GRAU (DESCRICAO_GRAU) VALUES ('P
 
Back
Top