GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - feusebio/restful-api-request: RESTful-API-Request is a simple Lib to talk with API Rest

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
Httpful
Httpful
 
 
Libs
Libs
 
 
img
img
 
 
js
js
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
httpful_autoload.php
httpful_autoload.php
 
 
index.html
index.html
 
 
process.php
process.php
 
 

Repository files navigation

Latest Stable Version Latest Unstable Version Total Downloads

ApiRestClient

ApiRestClient is a simple Lib to talk with API Rest.

This project was created to communicate with API CustoJusto.pt, by security reasons some data was omited. The user is free to use and make changes to communicate with other API.

  • Use Httpful Rest Client Lib (http://phphttpclient.com/)
  • Use most popular HTTP methods (GET/POST/UPDATE/DELETE)
  • Do CRUD operations

Examples with CURL:

curl -i -X POST "https://api......./v0/entries" -H "Authorization: Token token=XxxXXxxXxXXX" -H "Content-Type: application/json" -d ' { "title": "Escritório com 250m2 no Marquês", "description": "Fabuloso escritório com 250m2 no centro de Lisboa com ótimos acessos...", "type_id": "sell", "category_id": 1020, "image_ids": [13123123, 3123123, 231232, 2345356, 7867867], "location": { "region_id": 14, "zipcode": "1000", "area_id": 220 }, "partner_info": { "ad_id": "7", "group_id": "gg-45" }, "parameters": { "rooms": 6, "size": 25 } }'

Getting Data curl -i -X GET "https://apidev......./v0/types" -H "Authorization: Token token=XxxXXxxXxXXX"

List an entry curl -i -X GET "https://apidev....../v0/entries/12495697" -H "Authorization: Token token=XxxXXxxXxXXX"

About

RESTful-API-Request is a simple Lib to talk with API Rest

Topics

apiclient-apicustojustohttp-requestsrequestrest-apirestful

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.