Skip to content

Quidmye/products-endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

INSTALL

composer require quidmye/products-endpoint

Then run the command

php artisan migrate

ENDPOINTS

POST: https://example.app/api/v1/format/ PARAMS:

[
  'products' => [
    [
      'name' => 'SAMPLE NAME',
      'price' => 9.99,
      'image' => 'https://example.app/image.png',
      'category' => 'Category'
    ]
  ]
]

GET: https://example.app/api/v1/format/{id} RESPONSE:

{
    "status": "Success",
    "link": "https://example.app/storage/products/ymls/1.yml"
}

BASIC TEST

php artisan test vendor/quidmye/products-endpoint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published