Skip to content
Advertisement

Tag: http

Merge request not working

I am trying to replace the ‘pic’ value, which is set as an array when it comes in, with an image file name but the merge does not seem to be working. I am not getting any errors in the log with the below code. I guess I am not allowed to embed pictures yet so there is links below.

Load Blade assets with https in Laravel

I am loading my css using this format: <link href=”{{ asset(‘assets/mdi/css/materialdesignicons.min.css’) }}” media=”all” rel=”stylesheet” type=”text/css” /> and it loads fine for all http requests But when I load my login page with SSL (https), I get a …page… was loaded over HTTPS, but requested an insecure stylesheet ‘http… Can someone please tell me how do I make blade load assets

Double HTTP Authorization

I am currently working on a project that I’ve decided to go with basic HTTP authorization at the admin area for simplicity, however the company I’m working for already has HTTP authorization on their staging server and I was wondering if it is possible to have double HTTP authorization? Looking at the headers I thought that the realm part is

PHP multipart form data PUT request?

I’m writing a RESTful API. I’m having trouble with uploading images using the different verbs. Consider: I have an object which can be created/modified/deleted/viewed via a post/put/delete/get request to a URL. The request is multi part form when there is a file to upload, or application/xml when there’s just text to process. To handle the image uploads which are associated

RESTful API methods; HEAD & OPTIONS

I’m writing a RESTful API module for an application in PHP, and I’m a bit mixed on the verbs HEAD and OPTIONS. OPTIONSĀ  Used to retrieve the available HTTP verbs for a given resource? HEAD Used to determine whether a given resource is available? If someone could clarify* these verbs, that would be much appreciated. * The clarification was with

Advertisement