p0t4t0

Experience

10,780

0 Best Reply Awards

  • Member Since 5 Months Ago
  • 68 Lessons Completed
  • 0 Favorites

9th June, 2018

p0t4t0 left a reply on Is It Advisable To Hash Ids In Url? • 2 weeks ago

@Sergiu17 I am aware of validation checks and middleware and wasn't the point of my post but thanks for trying, @Snapey thanks this is exactly what I was looking for

p0t4t0 started a new conversation Is It Advisable To Hash Ids In Url? • 2 weeks ago

I'm not sure what the proper terms are or if it's even called hashing but is it advisable to do something like /user/gPUasb or /user/gPUasb/edit? to perhaps prevent users from guessing ids and manually going to each user's profile and maybe spam them or worse collect data from them? I'm just curious because I've never seen big sites with urls that point to user profiles with something as simple as user/1 or user/1/edit

5th June, 2018

p0t4t0 left a reply on What Things Should I Read Up On When Learning To Deploy Laravel Apps? • 2 weeks ago

@amirhazz how much does it typically cost overall to launch an ecommerce website made with Laravel?

4th June, 2018

p0t4t0 started a new conversation What Things Should I Read Up On When Learning To Deploy Laravel Apps? • 2 weeks ago

Hello, I just watched a video on how to set up a LEMP stack on Digital Ocean and it seems to have concepts I am still very unfamiliar with (SSH and such). Could anyone possibly give me a list of what I should be studying to learn this kind of stuff? I am unsure what I should be searching on Google because I don't just want to learn how to deploy Laravel apps but all apps built with different tech if they follow a similar process.

19th May, 2018

p0t4t0 left a reply on Is There A Better Way To Handle Account Verification Via Sms? • 1 month ago

@Snapey apologies, i am new to curl and this is the sample code they have on their website (the API i am using which is iTexMo btw which i don't believe anyone here has heard of since it is only a local company), yes i validated my inputs, everything is working fine, my activation gets sent each time a new user registers. i just need to know a better approach and someone advised me i should consider using service providers which is what i am doing but can't figure out how to get working.

18th May, 2018

p0t4t0 started a new conversation Laravel Custom Class As Service Provider • 1 month ago

I have a class that handles API calls to an SMS API which I made manually (without using artisan). At the moment I use it to send users their activation code after they register in my RegisterController but plan to take it a step further in the future (send sms notifications when a user posts, someone comments on their post, someone private messages them)

public function create(Request $request)
{
User::create([
    'name' => $request->name,
    'email' => $request->email,
    'mobile_number' => $request->mobile_number,
    'activation_code' => $this->generateActivationCode();
    // and so on...
]);

$mySmsClass = new MySmsClass($user->mobile_number, $user->activation_code);
$mySmsClass->sendActivationCode();
} 

I was advised against this approach to avoid tight coupling in my code and was pointed in the direction of service providers. So I read a couple of articles and found that I should be doing this instead

$this->app->bind('App\MySmsClass', function() {
    return new MySmsClass();
});

and

public function create(Request $request, MySmsClass $mySmsClass)
{
User::create([
    'name' => $request->name,
    'email' => $request->email,
    'mobile_number' => $request->mobile_number,
    'activation_code' => $this->generateActivationCode();
    // and so on...
]);

$mySmsClass->sendActivationCode();
} 

But I don't see how this is going to work since my MySmsClass depends on the recently created user's mobile number and activation code.

My questions: 1.) How am I able to access the newly created user's data from my service provider? Is there a better approach?

$this->app->bind('App\MySmsClass', function() {
    return new MySmsClass($user->mobile_number, $user->activation_code);
});

2.) Where should I store my MySmsClass? Does it matter? Right now I have it just right under my app folder.

3.) I understand I have to use this to make my MySmsClass work with my Post, Comment and Inbox controllers in the future.

$this->app->when(MySmsClass::class)
          ->needs(Post::class)
          ->give(function () {
              // do something...
          });

But I'm not able to fully understand it. How will this look like in my controller when I implement it?

p0t4t0 started a new conversation Is There A Better Way To Handle Account Verification Via Sms? • 1 month ago

This is the code I have right now. I haven't tested it out yet but it looks like it's going to work? lol

RegisterController.php

protected function create(array $data)
    {
        $user = User::create([
            'first_name' => $data['first_name'],
            'last_name' => $data['last_name'],
            'mobile_number' => $data['mobile_number'],
            'email' => $data['email'],
            'password' => Hash::make($data['password']),
            'authentication_code' => $this->generateAuthCode()
        ]);

        $textMessage = new SmsController($user->mobile_number, $user->authentication_code);
        $textMessage->sendAuthCode();

        if ($textMessage) {
            // success
        } else {
            // error
        }

        return $user;
    }

SmsController.php

public function __construct($number, $message) {
        $this->number = $number;
        $this->message = $message;
    }

    public function sendAuthCode()
    {
        $postData = array(
            '1' => $this->number,
            '2' => $this->message,
            '3' => $this->apicode
        );

        $url = "";

        $ch = curl_init();
        curl_setopt_array($ch, array(
            CURLOPT_URL => $this->url,
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_POST => true,
            CURLOPT_POSTFIELDS => http_build_query($postData)
        ));

        // curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        // curl_setopt($ch, CURLOPT_SSL_VERIFYUSER, 0);

        return curl_exec($ch);
        curl_close($ch);
    }

p0t4t0 started a new conversation Is There A Way To Make The Helper Function Str_random Return Only Letters From A-z And Not Include Numbers? • 1 month ago

Is there a way to make the helper function str_random return only letters from a-z and not include numbers?

16th May, 2018

p0t4t0 left a reply on What's A Better Way To Limit A User's Ability To Post Per Day • 1 month ago

@tykus looks pretty clean. i love it! but three questions 1.) i've never seen that today() function before, where is it coming from? (the one instead the scopeToday function) 2.) in the Post model local scope, why are we getting posts with a created_at > today? 3.) if i understand the code right, the Policy restricts the user from posting if it returns false? how does it execute that exactly?

p0t4t0 started a new conversation What's A Better Way To Limit A User's Ability To Post Per Day • 1 month ago

Right now I am thinking adding a posts_allowed column to my users table, set it to 3 maybe, then decrement it every time a user posts, when it gets to 0 i'll maybe run a check for $post->created_at > $post->created_at + 24 hrs and reset posts_allowed when it returns true.

I am not a MySQL expert but I believe this is a waste of resource especially if I set posts_allowed to integer, maybe I should set it to tinyint instead? I dunno, any suggestions? Or is there a "Laravel" way of doing this instead?

8th May, 2018

p0t4t0 started a new conversation Has Anyone Used The Aimeos E-commerce Package Laravel? How Is It? • 1 month ago

Are there are better alternatives?

1st May, 2018

p0t4t0 left a reply on What Is Session State? And What Is The Importance Of Having A Stateless Backend? • 1 month ago

@martinbean Thank you for clearing this up for me although I still do have a couple of questions.

  1. How does it aid in scalability? What happens with applications that store state for every consumer?
  2. How can a state affect a response?

If you aren't too busy of course, could you give me one or two examples? The simpler the better. I would really appreciate it.

p0t4t0 started a new conversation What Is Session State? And What Is The Importance Of Having A Stateless Backend? • 1 month ago

I've read somewhere that when defining routes in api.php, you ensure that your server doesn't make use of session state and thus remains stateless. Some time ago I have had trouble differentiating the two (api.php and web.php), on why anyone would still define routes in api.php when they could easily just do so in web.php. But just what is session state? And what is the importance of having a stateless back end? What are good use cases for this? Sample scenarios? Thank you.

29th April, 2018

p0t4t0 left a reply on Does The Old() Helper Function Make Use Of LocalStorage Or Cookies? • 1 month ago

@Snapey I see. So what would you recommend? Session, cookie, or localStorage? Here is a post of mine from another forum. To be honest, I don't really see the difference between the three in my case. Since if I use localStorage wouldn't it be just like session or cookie if I use with it AJAX?

Scenario: site.com has a search bar with all sorts of input fields where once all those are filled will redirect the user to site.com/results which will show the user's search results based on the filters they set up on the previous page. Now, site.com/results/1 will show each individual search result. However, whenever a user hits 'back' from site.com/results/1 all of the previous filters that were set up by the user initially are erased. My boss doesn't want that. Also, in the future possibly my boss would want to implement sending emails for search results that had been 'abandoned' same as that with an abandoned shopping cart.

I am wondering if localStorage + AJAX would be perfect for this? Maybe from site.com once the user fills up the input fields have those values stored in the localStorage and use those values in the filters of site.com/results and also insert them to my AJAX calls when user changes the filters in site.com/results to dynamically change the results on that page. And in the future, have the values in localStorage be sent over to the user by email.

Or would I better off using php COOKIES or SESSION instead? (site uses PHP on the back end)

27th April, 2018

p0t4t0 started a new conversation Does The Old() Helper Function Make Use Of LocalStorage Or Cookies? • 1 month ago

I am just curious. Because right now I am about to work on a project where I need to store user input throughout different pages and wouldn't localStorage be better for this?

22nd April, 2018

p0t4t0 left a reply on Can Someone Help Me With My Laravel AJAX Call, Why Is This Not Working? • 2 months ago

btw I figured this out if anyone else is experiencing the same problem I was here is the solution:

$.ajaxSetup({
        headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }
      });

the reason I think the request wasn't going through was because of Laravel's security feature, and the code above is a csrf token that gets sent along with the AJAX request, kind of like the @csrf in your forms.

p0t4t0 left a reply on Need Help With My Polymorphic Models • 2 months ago

@Vilfago thanks! it worked

p0t4t0 started a new conversation Need Help With My Polymorphic Models • 2 months ago

Hello all

I have a polymorphic relationship set up with my Post and Comment models with Upvotes. Everything is fine except for I can't associate which user upvoted a Post or Comment.

here is my Upvotes table

public function up()
    {
        Schema::create('upvotes', function (Blueprint $table) {
            $table->increments('id');
            $table->morphs('upvoteable');
            $table->timestamps();
        });
    }

my Comment model

public function upvotes()
    {
      return $this->morphMany('App\Upvote', 'upvoteable');
    }

my Post model

public function upvotes()
    {
      return $this->morphMany('App\Upvote', 'upvoteable');
    }

routes

Route::post('/post/{id}/upvote', '[email protected]')->name('scribble.upvote');

or I could probably get away with

Route::post('/post/upvote', '[email protected]')->name('scribble.upvote');

since I was after all going to do the upvoting via AJAX...

and lastly my PostUpvoteController

public function upvote(Request $request)
    {
      $post= Post::findOrFail($request->id);
      $upvote = new Upvote;

      $post->upvotes()->save($upvote); // this is the part I can't figure out

      return response()->json([
        'upvoted' => // should return true or false depending on whether the user has already upvoted the post or not
      ])
    }

$post->upvotes()->save($upvote) I can't figure out how to pass the $post->user->id into this save method. Should I be adding a user_id column to my Upvotes table so I can associate each upvote to a user? If so, how can I persist the $post->user->id into said column?

21st April, 2018

p0t4t0 started a new conversation Is There Any Significant Difference To Setting Up Your API Endpoints In Routes/api.php As Opposed To Routes/web.php • 2 months ago

I am just curious since I've seen tutorials where they set up URI endpoints in web.php

8th April, 2018

p0t4t0 left a reply on Can Someone Help Me With My Laravel AJAX Call, Why Is This Not Working? • 2 months ago

i tried manually accessing my /test/{id} route and it gives a MethodNotAllowedHttpException, could that be it?

p0t4t0 left a reply on Can Someone Help Me With My Laravel AJAX Call, Why Is This Not Working? • 2 months ago

@jlrdw it's working, i can console.log(id) just fine

p0t4t0 started a new conversation Can Someone Help Me With My Laravel AJAX Call, Why Is This Not Working? • 2 months ago

web.php

Route::post('/test/{id}', '[email protected]')->middleware('admin');

scripts.js

$(document).ready(function() {
  $('.foo').click(function() {
    var $this = $(this),
        id = $this.data('id'),
        token = $this.data('token'),
        answer = confirm('Are you sure you want to flag this post as spam?');
    if (answer) {
      $.ajax({
        url: '/scriblr/public/test/' + id,
        type: 'post',
        dataType: 'json',
        data: {
          'id': id,
          '_method': 'POST',
          '_token': token
        },
        success: function(response) {
          console.log(response);
        },
        error: function(jqXHR, textStatus, errorThrown) {
          console.log(JSON.stringify(jqXHR));
          console.log("AJAX error: " + textStatus + ' : ' + errorThrown);
        }
      });
    }
    return false;
  });
});

AdminController.php

public function spam(Request $request)
    {
      return response()->json([
        'foo': 'bar'
      ]);
    }

i get this error in the console POST http://localhost/scriblr/public/test/9 500 (Internal Server Error)

p0t4t0 left a reply on I've Imported JQuery And A JQuery Plugin With A CDN But Plugin Still Doesn't Work • 2 months ago

@Snapey oh what do I need to do then to get my script.js file to work with it? because I tried creating a script file in public/js/ and it didn't work. That's why I imported jQuery with the CDN.

p0t4t0 left a reply on I've Imported JQuery And A JQuery Plugin With A CDN But Plugin Still Doesn't Work • 2 months ago

@Snapey I'm not sure what you mean. I tried logging something with jQuery before I imported jQuery with the CDN but it doesn't seem to work. That's why I imported it.

p0t4t0 left a reply on I've Imported JQuery And A JQuery Plugin With A CDN But Plugin Still Doesn't Work • 2 months ago

@topvillas the $.confirm function

@Snapey yes all files are loading okay, nope app.js is just there. the error happens after i click the button.

p0t4t0 left a reply on I've Imported JQuery And A JQuery Plugin With A CDN But Plugin Still Doesn't Work • 2 months ago

@topvillas well...

my footer.blade.php

<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.js"></script>
<script src="{{asset('app/script.js')}}">

script.js

$(document).ready(function(){
    $('.button').click(function(){
$.confirm({
    title: 'Confirm!',
    content: 'Simple confirm!',
    buttons: {
        confirm: function () {
            $.alert('Confirmed!');
        },
        cancel: function () {
            $.alert('Canceled!');
        },
        somethingElse: {
            text: 'Something else',
            btnClass: 'btn-blue',
            keys: ['enter', 'shift'],
            action: function(){
                $.alert('Something else?');
            }
        }
    }
});
    });
});

this works on my non-Laravel app but somehow doesn't on my Laravel project

p0t4t0 started a new conversation I've Imported JQuery And A JQuery Plugin With A CDN But Plugin Still Doesn't Work • 2 months ago

I tested the plugin on a non-Laravel app and it seems to work just fine. However, when I import the plugin into my Laravel app, it just does nothing and tells me that the function doesn't exist.

7th April, 2018

p0t4t0 left a reply on How Do You Import JQuery Into A Laravel Project Properly? • 2 months ago

I just read it. Thanks but one more question though. Where should I store gulpfile.js? I installed the plugin I mentioned earlier as well as jQuery with npm install.

p0t4t0 left a reply on How Do You Import JQuery Into A Laravel Project Properly? • 2 months ago

@jlrdw

<script type="text/javascript" src="<?php echo asset('assets/js/jquery.js'); ?>"></script>

doesn't seem to work

p0t4t0 left a reply on How Do You Import JQuery Into A Laravel Project Properly? • 2 months ago

But what if I use jQuery instead of Vue? For the reason being I haven't yet a good grasp of Vue. Also, when installing plugins with npm install, how do I bring it into my application?

p0t4t0 started a new conversation How Do You Import JQuery Into A Laravel Project Properly? • 2 months ago

Does a fresh installation of Laravel already come with jQuery or do I have to install it with npm or something? In my public/js folder I created a script.js file and tried alerting something but it didn't work. So in my footer.blade.php I imported jQuery via CDN as well as importing my script.js file with <script src="{{asset('js/script.js'}}"></script>and although it works, I can't help but feel this is redundant.

Also, I installed https://craftpip.github.io/jquery-confirm/ to my Laravel app with npm and couldn't get it to work.

p0t4t0 left a reply on How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

@rin4ik oh sorry about that

p0t4t0 left a reply on How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

@rin4ik sure thing. the one i marked gave the idea to check the edit page.

p0t4t0 left a reply on How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

I figured it out.

  1. Found out error on console was only happening on edit page, checked edit.blade.php found out I had an extra ; in my @extends('layouts.app');

  2. In my validate function, I was validating category_id when the input field for it was supposed to be just category so I edited it and finally it worked.

    $request->validate([
          'title' => 'required',
          'body' => 'required|min:2',
          'category' => 'required'
        ]);

    $scribble->slug = null;
        $scribble->title = $request->title;
        $scribble->body = $request->body;
        $scribble->category_id = $request->category;
        $scribble->save();

Thanks for your help. Couldn't have done it without you.

p0t4t0 left a reply on How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

I'm just using blade :(

p0t4t0 left a reply on How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

<meta name="csrf-token" content="{{ csrf_token() }}">

is already there in my head section in app.blade.php

p0t4t0 left a reply on How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

I tried it. It's not dumping the data at all nor is it redirecting me to '/'. But I did notice something in the Console.

I am getting this error there CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token

Which is weird because I have @csrf in my form

p0t4t0 left a reply on How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

/update page is returning 'Failed to load response data'

p0t4t0 started a new conversation How Do You Update A Table With A Laravel Sluggable Trait? • 2 months ago

My Scribble Model

class Scribble extends Model
{
    use Sluggable;

    /**
     * Return the sluggable configuration array for this model.
     *
     * @return array
     */
    public function sluggable()
    {
        return [
            'slug' => [
                'source' => 'title',
                'onUpdate' => true
            ]
        ];
    }

    protected $fillable = [
      'user_id', 'title', 'body', 'slug', 'category_id'
    ];

My ScribbleController

public function update(Request $request, Scribble $scribble)
    {
        $request->validate([
          'title' => 'required',
          'body' => 'required|min:2',
          'category_id' => 'required'
        ]);

        $scribble->update($request->all());

        return redirect()->back()->with('message', 'Scribble updated successfully!');
    }
}

I can't pinpoint the problem because once I hit submit on my edit form it just refreshes the page and does nothing

This is my edit form btw

@extends('layouts.app');

@section('content')
  <div class="row justify-content-center">
      <div class="col-md-8">
        <form class="" action="{{route('scribble.update', $scribble->id)}}" method="post">
          @csrf

          <input name="_method" type="hidden" value="PUT">

          <div class="form-group">
            <input style="text-transform: capitalize;" type="text" name="title" value="{{old('title') ? old('title') : $scribble->title}}" placeholder="Title..." class="form-control{{$errors->has('title') ? ' is-invalid' : ''}}">
            @if ($errors->has('title'))
                <span class="invalid-feedback">
                    <strong>{{ $errors->first('title') }}</strong>
                </span>
            @endif
          </div>

          <div class="form-group">
            <textarea name="body" rows="8" cols="80" style="resize: none;" class="form-control{{$errors->has('body') ? ' is-invalid' : ''}}" placeholder="Body...">{{old('body') ? old('body') : $scribble->body}}</textarea>
            @if ($errors->has('body'))
                <span class="invalid-feedback">
                    <strong>{{ $errors->first('body') }}</strong>
                </span>
            @endif
          </div>

          <div class="form-group">
            <select class="form-control{{$errors->has('category') ? ' is-invalid' : ''}}" name="category">
              <option value="" disabled selected>Choose a category...</option>
              @foreach ($categories as $category)
                <option value="{{$category->id}}" {{old('category') !== null && old('category', $category->id) === $category->id ? 'selected' : ($category->id === $scribble->category->id ? 'selected' : '')}}>{{$category->name}}</option>
              @endforeach
            </select>
            @if ($errors->has('category'))
                <span class="invalid-feedback">
                    <strong>{{ $errors->first('category') }}</strong>
                </span>
            @endif
          </div>

          <button type="submit" class="btn btn-primary">Update Scribble</button>
        </form>
      </div>
  </div>

@endsection

p0t4t0 left a reply on How Do You Change The Default Id That Gets Passed Into The Controller? • 2 months ago

Let me try and rephrase my question. I'm really sorry if it's not making much sense but I need to do this

public function(User $user) {

}

but not with an id but a username as the default behavior of Laravel looks for the the user with the id that is passed into the url

this works with the code above: site.com/profile/1

but this doesn't site.com/profile/potato

If I remember correctly, there was a way to override the how Laravel handles this by default like instead of looking for the user with the id that is passed in the URL, it'd have to look for the user with the username that is passed without having to do

public function($user) {
    $user = User::where('username', $user)->first();
}

p0t4t0 started a new conversation How Do You Change The Default Id That Gets Passed Into The Controller? • 2 months ago

I'm sorry if my question doesn't make sense, English isn't my first language. But I'm pretty sure this was possible. It's just it's been a while since I dabbled with Laravel. Anyway, here is a sample scenario:

Route::get('profile/{id}', '[email protected]');

By default the controller looks for the the product with the id that gets passed in via 'type hinting' (not sure if this was what it was called), but it enables us to do this

public function profile(User $user) {

}

What I want to do is pass in the product name instead

Route::get('profile/{username}', '[email protected]');

Without having to do...

public function show($user) {
    $product = Product::where('product_name', $product)->first();
}

I just can't seem to remember. Should we define it in the Model? Like how we define $primaryKey if we wanted to edit the default primary key?

6th April, 2018

p0t4t0 left a reply on When Working With Vue Should You Always Or Is It Better To Build An API For Your Back End? • 2 months ago

I see. I'm a little new to Vue, coming from a jQuery background it's kind of hard for me to digest. Are there any tutorials out there on Vue that don't rely on APIs? I've read and watched plenty of Vue tutorials already but none of them seem to take the no API approach.

p0t4t0 started a new conversation When Working With Vue Should You Always Or Is It Better To Build An API For Your Back End? • 2 months ago

Also, is it possible to work with Vue without having an API on your back end?

p0t4t0 left a reply on Can't Get Laravel Notifications To Send Email • 2 months ago

@rin4ik still doesn't work, I tried restarting my server and MySQL with the config:cache but still no luck

p0t4t0 left a reply on Can't Get Laravel Notifications To Send Email • 2 months ago

@rin4ik I already tried that unfortunately

'from' => [
        'address' => env('MAIL_FROM_ADDRESS', '[email protected]'),
        'name' => env('MAIL_FROM_NAME', 'Test'),
    ],

p0t4t0 started a new conversation Can't Get Laravel Notifications To Send Email • 2 months ago

I was following this tutorial https://medium.com/@sadhakbj/laravel-5-5-activate-account-after-registration-using-laravel-notification-fd5dc7fa05ad and everything was going fine until it was time to send the verification email after a user finishes registering. For some reason I was getting this error

Swift_TransportException Cannot send message without a sender address

I tried playing around the code a bit to see where the error was coming from, when I fiddled around with this bit of code, the error changed

public function toMail($notifiable)
    {
        /** @var User $user */
        $user = $this->user;

        return (new MailMessage)
                    ->from(env('ADMIN_EMAIL')) // this line right here...
                    ->subject('Successfully created new account')
                    ->greeting(sprintf('Hello %s', $user->first_name))
                    ->line('You have successfully registered to our system. Please activate your account.')
                    ->action('Click Here', route('activate.user', $user->activation_code))
                    ->line('Thank you for using our application!');
    }

I'm not sure where this env variable is coming from because in the tutorial there is no mention of creating it in the env file. So I tried changing it to env('MAIL_USERNAME') which has my username credentials to my Mailtrap inbox but I get this error

Address in mailbox given [] does not comply with RFC 2822, 3.6.2.

I am really stumped.

3rd April, 2018

p0t4t0 started a new conversation Why Do We Need To Generate An Application Key If We Are Working With APIs Or OAuth/Passport? • 2 months ago

I've been reading a couple tutorials on OAuth/Passport and most of them instructed to generate an application key but never really tell you the reason why. I'm just curious, why do we do this?

p0t4t0 left a reply on When Creating An API Would One Still Make Use Of Blade Views Or Should You Go Straight To Vue? • 2 months ago

@ejdelmonico thanks for the response, but what is rate limiting?

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.