Catzie.net Blog
  • Home
  • Technology
    • Coding
    • Gadgets
    • Mobile
    • Networking
    • Software
  • Philippines & World
    • Banking
    • Legal Documents
    • Travel
    • Politics
  • Lifestyle
    • Foods
    • Career
    • Health
    • Leisure Travel
    • Money
    • Shopping
  • Entertainment
    • Games
    • Movies
    • Music
    • Sports
  • About
  • Contact Catzie

REST

Laravel 5 RESTful API with Basic Auth: PHPUnit Testing

July 9, 2016 Catzie Leave a comment

I’ve been using PHPUnit to test my RESTful API. PHPUnit is ready to use in Laravel. In my Laravel-based RESTful API, I have an endpoint /api/users which returns JSON data when you send a GET request. The API will only return such data if the client sends the corrent username and password (Basic Authentication). The […]

Read More

Search this blog:

Google
Custom Search

About

catzie Yo! This is Catzie, a Filipino Web & Android Developer, and owner of Catzie's Cakery / Cookies PH - feel free to get in touch with us for homemade baked-per-order cakes and cookies! :)

This is an anything-goes blog with an increasing number of tech posts recently. And oh, I'm not really a writer, so please bear with the writing style in this blog. xD

 

Catzie.net

 

Follow @Catzie

Categories

Archives

Catzie.net Blog All rights reserved. Theme by Colorlib Powered by WordPress