drugstore-api-php

Drugstore project API

API Info

Primary address: drugstore-api-php.herokuapp.com

Drugs


  • Address: /get_drugs.php
  • Method: GET
  • Description: returns array of drugs (by: country)

  • Address: /search_drugs.php
  • Method: GET
  • Description: returns array of drugs (by: name)

  • Address: /add_drug.php
  • Method: GET
  • Description: adds new drug (by: name, composition, country)

  • Address: /remove_drug.php
  • Method: GET
  • Description: removes drug (by: id, country)